home *** CD-ROM | disk | FTP | other *** search
- Exported file systems with NFS
- Introduction
-
- NFS (Network File System) is the de facto standard _U_n_i_x to _U_n_i_x file
- sharing protocol. This means that _L_i_n_u_x can be a file server for any
- _U_n_i_x system out there. This configuration screen allows you to "pubĀ”
- lish" some specific parts of your file system tree.
-
- 11.. EExxppoorrttiinngg ffiillee ssyysstteemmss
-
- Your _L_i_n_u_x system manage its files under a large big tree. You can
- specify which subdirectories you are making available to which
- machine.
-
- Ultimately, you can specify that you export the root "/" with an empty
- list of machine. This means any machine will be able to access your
- files.
-
- By specifying one or more machines, you are restricting access.
-
- 22.. OOppttiioonnss
-
- The NFS configurator of _L_i_n_u_x_c_o_n_f is fairly crud at this time. You
- must specify option enclosed in parentheses like this:
-
- machinea(rw,link_relative)
- machineb(ro)
-
- Here are a list of the main options. Refer to the man page (man
- exports) for more details (and more options).
-
- rroooott__ssqquuaasshh
- Map requests from uid 0 on the client to uid NOBODY_UID (a
- compile-time option) on the server.
-
- nnoo__rroooott__ssqquuaasshh
- Don't map requests from uid 0.
-
- rroo Mount file hierarchy read-only.
-
- rrww Mount file hierarchy read-write.
-
- lliinnkk__rreellaattiivvee
- Convert absolute symbolic links (where the link contents start
- with a slash) into relative links by prepending the necessary
- number of ../'s to get from the directory containing the link
- to the root on the server. This has sub- tle, perhaps
- questionable, semantics when the file hierarchy is not mounted
- at its root.
-
- lliinnkk__aabbssoolluuttee
- Leave all symbolic link as they are (the normal behavior for
- Sun-supplied NFS servers).
-
- 33.. MMaacchhiinnee ttoo mmaacchhiinnee
-
- NFS introduce a fairly different approach to normal PC networking.
- Most PC file sharing protocols establish a relation between one user
- and one or several servers. The machine used by the user is not
- relevant. Given that many PCs are running single user operating
- systems this scheme make sens.
-
- _U_n_i_x and _L_i_n_u_x are multi-user systems. NFS configuration is a machine
- to machine issue. One NFS server is granting access to different
- machines either one by one or to all machine of a given network. Once
- an NFS relation is activated between one server machine and one
- client, all users on the client have access to the server, in the same
- way they have access to files and directories on the client machine.
-
- If fact one user one the client machine will have about the same
- access as if he was logged in the server. His access will be limited
- to the different part of the file system exported by the server.
-
-